home *** CD-ROM | disk | FTP | other *** search
- Path: hydra.zrz.TU-Berlin.DE!rawneiha
- From: rawneiha@hydra.zrz.TU-Berlin.DE (Philipp Boerker)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: TMapping again!
- Date: 23 Jan 1996 12:39:34 GMT
- Organization: Technical University of Berlin, Germany
- Message-ID: <4e2ku6$31m@news.cs.tu-berlin.de>
- References: <4d6v0t$3dt@maureen.teleport.com> <4dg4jk$km@news.cs.tu-berlin.de> <4dhvd5$5r2@maureen.teleport.com> <38232113@kone.fipnet.fi> <4e10ol$ck3@maureen.teleport.com>
- NNTP-Posting-Host: hydra.zrz.tu-berlin.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
-
- sschaem@teleport.com (Stephan Schaem) writes:
-
- > repeat 8
- > mw D1,D2
- > mb D0,D2
- > addx.l d7,D0
- > movea.l d2,a0
- > addx.l d6,D1
- > mw (A0),d3
- > mw D1,D2
- > mb D0,D2
- > movea.l d2,a0
- > mb (A0),d3
- > addx.l d7,D0
- > addx.l d6,D1
- > mw d3,(a1)+
- > endr
-
- > the above map 2 pixels from a 256x256 tmap buffer...
- > You should be able to use 24bit precission .
-
- I think mapping 2 pixels like you did is not optimal.
- If the first pixel is the lowest byte of a long the
- word read will cause two mem reads. The only thing you
- save is a write. But reads stop the processor while
- writes don t! Do proper pipelining instead.
-
- Greets,
- Phil.
- grond/matrix
-
-